package com.kmxd.ams.client.jy.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 统计信息
 *
 * @author ZuoLG
 * @since 2023-10-16
 */
@Schema(description = "统计信息对象")
@Data
public class StatisticsQueryDTO implements Serializable {

  private static final long serialVersionUID = 1L;

  /** 查档方式 */
  @Schema(description = "查档方式")
  private String filingMode;

  /** 查档目的 */
  @Schema(description = "查档目的")
  private String purposeArhiving;

  @Schema(description = "年度")
  private Integer year;

  /** 开始时间 */
  @Schema(description = "开始时间")
  @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  private Date startTime;

  /** 结束时间 */
  @Schema(description = "结束时间")
  @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  private Date endTime;
}
